﻿using System;
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Admin.NET.Core;
namespace Admin.NET.Application.Entity
{
    /// <summary>
    /// 
    /// </summary>
    [SugarTable("car_car","")]
    [Tenant("1300000000001")]
    public class car_car  : EntityBase
    {
        /// <summary>
        /// 租户Id
        /// </summary>
        [SugarColumn(ColumnDescription = "租户Id")]
        public long? TenantId { get; set; }
        /// <summary>
        /// 车型名
        /// </summary>
        [Required]
        [SugarColumn(ColumnDescription = "车型名", Length = 500)]
        public string carname { get; set; }
        /// <summary>
        /// 父级
        /// </summary>
        [Required]
        [SugarColumn(ColumnDescription = "父级")]
        public long pid { get; set; }
    }
}